//
//  Device.swift
//  uwantgoeasy
//
//  Created by 冯传宝 on 12/17/15.
//  Copyright © 2015 uwantsoft. All rights reserved.
//

import Foundation
import UIKit
class Device{
    private var name: String
    private var device: String
    private var os: String
    private var version: String
    
    init(){
        let appName = NSBundle.mainBundle().infoDictionary!["CFBundleName"] as? String
        self.name = appName!
        self.device = UIDevice.currentDevice().model
        self.os = UIDevice.currentDevice().systemName
        self.version =  UIDevice.currentDevice().systemVersion
    }
}